package com.fxl.majiang.websocket;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author fengxinglei
 * @date 2022/8/1 16:07
 * @description TODO
 */
@Configuration
public class WebSocketConfig {

    @Bean("serverEndpointExporter")
    public ServerEndpointExporter serverEndpointExporter(){
        return new ServerEndpointExporter();
    }

}
